<form id="index-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="public_appid" class="control-label col-xs-12 col-sm-2">公众号appid:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="public_appid" name="row[public_appid]" value="{$row.public_appid|htmlentities}" />
        </div>
    </div>

    <div class="form-group">
        <label for="public_appid" class="control-label col-xs-12 col-sm-2">公众号appsecret:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="password" class="form-control" id="public_appsecret" name="row[public_appsecret]" value="{$row.public_appsecret|htmlentities}" />
        </div>
    </div>

    <div class="form-group">
        <label for="token" class="control-label col-xs-12 col-sm-2">消息验证token:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="token" name="row[token]" value="{$row.token|htmlentities}" />
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed ">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>